import Vue from 'vue';
import App from './App.vue';

import './assets/css/global.less';

import axios from 'axios';
import * as echarts from 'echarts';
import 'echarts/theme/dark';
import 'echarts/theme/dark-mushroom';
import './map/china';
import './map/province/chongqing';
import './map/province/shanxi1';
import router from './router';

axios.defaults.baseURL = 'http://localhost:8888/api/';
Vue.prototype.$http = axios;
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
